<?php
/**
 * Zendex (Zend (Framework) Extensions)
 *
 * LICENSE
 *
 * This source file is subject to the new BSD license that is bundled
 * with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://zfx.netatoo.fr/license/new-bsd
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to support@netatoo.fr so we can send you a copy immediately.
 *
 * @category   Zendex
 * @package    Zendex_Bootstrap
 * @copyright  Copyright (c) 2007 Netatoo FR S.A.R.L. (http://www.netatoo.fr)
 * @license    http://Zendex.netatoo.fr/license/new-bsd     New BSD License
 */

/**
 * @category   Zendex
 * @package    Zendex_Bootstrap
 * @copyright  Copyright (c) 2007 Netatoo FR S.A.R.L. (http://www.netatoo.fr)
 * @license    http://Zendex.netatoo.fr/license/new-bsd     New BSD License
 */   
class Zendex_Bootstrap_Plugin_MyPlugin extends Zendex_Bootstrap_Plugin_Abstract
{
    public function launchStartup() 
    {
        Zend_Debug::dump("XML Document is loaded");
        Zend_Debug::dump(Zendex_Bootstrap::getXmlDocument());
        Zend_Debug::dump("--------------------------------------");
    }
    
    public function dispatchLoopStartup($xml) 
    {
    	Zend_Debug::dump("Start dispatch loop");
    }
    
    public function preDispatchElement($tagName, $xml) 
    {
    	Zend_Debug::dump("---> preDispatchElement <$tagName>");
    }
    
    public function postDispatchElement($tagName, $xml) 
    {
    	Zend_Debug::dump("---> preDispatchElement <$tagName>");
    }
    
    public function dispatchLoopShutdown($xml) 
    {
    	Zend_Debug::dump("Shutdown dispatch loop");
    	Zend_Debug::dump("--------------------------------------");
    }
}
